<template>
  <div>
    <h1>首页</h1>
  </div>
</template>

<script>
export default {
  created() {
    console.log('首页组件创建了');
  },
  destroyed() {
    console.log('首页组件销毁了');
  }
}
</script>

<style>

</style>